net: mvpp2.c: Enable 10G support for port 0 (SFI)
authorStefan Chulski <[email protected]>
Thu, 6 Apr 2017 13:39:08 +0000 (15:39 +0200)
committerJoe Hershberger <[email protected]>
Fri, 2 Jun 2017 19:44:19 +0000 (14:44 -0500)
commite09d0c8314933e586de6549581e35cb21f8b4da2
treec59ab219cfc5a960a999df66446a30e7f93908aa
parentcc1aa218f51088230149aa4fc8930ef1d6e36a0b
net: mvpp2.c: Enable 10G support for port 0 (SFI)

This patch fixes some remaining issues in the mvpp2 driver for the 10GB
support on port 0. These changes are:

- Incorrect PCS configuration
- Skip PHY configuration when no PHY is connected
- Skip GMAC configurations if 10G SFI mode set

Signed-off-by: Stefan Chulski <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Cc: Kostya Porotchkin <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Joe Hershberger <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/mvpp2.c